 @extends('master')

@section('title')
Scool|Info Robot Comment
@endsection

@section('content')
 <!-- right-top -->
<div class="row"> 
  <!--col-md-12 start-->
  <div class="col-md-12">
    <div class="page-heading">
      <h1>Robot提交评论</h1>
    </div>
  </div>
  <!--col-md-12 end--> 
</div>

<div class="row">

    <div class="col-md-6 box-info">
    <form  class="form-horizontal row-border" id="from"/>
         <div class="form-group">
            <label class="col-sm-3 control-label">选择Robot</label>
            <div class="col-sm-9">
                  <select class="form-control" id="user_id" name="user_id">
                    <option value="0" >请选择Robot</option>
                    <?php foreach($data['robots'] as $robot): ?>
                        <option value="<?php echo $robot->id ?>" ><?php echo $robot->username; ?></option>
                    <?php endforeach;?>
                  </select>
              </div>
          </div>

         <!--  <div class="form-group">
            <label class="col-sm-3 control-label">Location</label>
            <div class="col-sm-9">
              <input type="text" class="form-control form-control-inline" id="location" name="location" placeholder="Location">
            </div>
          </div>

          <div class="form-group">
            <label class="col-sm-3 control-label">Tag_Name</label>
            <div class="col-sm-9">
              <input type="text" class="form-control form-control-inline" id="tag_name" name="tag_name" placeholder="标签名">
            </div>
          </div> -->

          

          <div class="form-group">
            <label class="col-sm-3 control-label">Content</label>
            <div class="col-sm-9">
              <textarea class="form-control" id="content" name='content' rows="5"></textarea>
            </div>
          </div>
    </form>

    <div>
        <button type="button" class="btn btn-danger" id="submit">Submit</button><br/>
    </div>

    </div>

</div>

    

@endsection

@section('js')
<script type="text/javascript"  src="/js/comment/robot-comment-create.js"></script>
@endsection